html, body {
   direction: rtl;
}
body {
   margin: 0;
   padding: 0;
   overflow-x:hidden;
   background-image:url(../images/paper01.jpg);
}
#scontainer {
   display: flex;
   border:0;
   min-height: 100%;
   position: relative;
   z-index: 9999;
}
input[type=checkbox] {
   position: absolute;
   opacity: 0;
}
label {
   position: absolute;
   top: 10px;
   right: 40px;
   z-index: 1;
   display: block;
   font-size:3em;
   color: #444;
   cursor: pointer;
   transform: translate3d(0, 0, 0);
   transition: transform .4s;
}
input[type=checkbox]:checked ~ label {
   transform: translate3d(-250px, 0, 0) rotate(90deg);
}
.content {
   width:100%;
   padding: 40px;
   background: #FEFFF0;
   transform: translate3d(0, 0, 0);
   transition: transform .4s;
}
input[type=checkbox]:checked ~ .content {
   transform: translate3d(-250px, 0, 0);
}
input[type=checkbox]:checked ~ .slide-menu {
   transform: translate3d(0, 0, 0);
}
input[type=checkbox]:checked ~ .slide-menu .menu li {
   width: 100%;
}
.slide-menu {
   transform: translate3d(250px, 0, 0);
   position: absolute;
   width: 200px;
   background: #755F57;
   color: #ddd;
   right: 0;
   height: 250px;
   transition: all .4s;
   padding: 3px;
   margin: 2px;
   border: #575700 10px;
}
.slide-menu h1 {
   margin:5px;
   text-shadow: 1px 1px 1px #000;
}
.menu {
   list-style: none;
   padding: 10px;
   margin: 10px;
   border: 10px;
}
.menu a {
   display: block;
   text-decoration: none;
   color: #fff;
   font-size: 1.5vw;  /*    1.1em; */
   padding: 10px;
   background: linear-gradient(#5AADB5, #4f6b81);
   border-bottom: 1px solid #1e222b;
   box-shadow: inset 0px 1px 1px #8b9db3;
}
.menu a:hover {
   background: linear-gradient(#3b3f48, #3c434d);
   box-shadow: inset 0px 1px 1px #475059;
}
p.laleh {
    font-family: "lalezar", Verdana, Tahoma;
    font-size: 3vw;   /*   26pt;  */
    text-align:right;
    padding: 5px;
    text-shadow:2px 2px 4px #969696;
}
p.irs {
    font-family: irans, Verdana, Tahoma;
    font-size:10pt;
}
li {
    font-family: irans, Verdana, Tahoma;
}
article {
	font-family: irans,tahoma;
	font-size:0.8em;
	text-align: justify;
    text-justify: kashida;
    text-indent: 15px;
	line-height: 1.4em;
    margin: 2px;
    padding:15px;
    border: #FFFAE1 1px inset;
    box-shadow: inset -2px -2px 6px 1px #707070;
    background-color: #EBEDBF ;
    color: black;
    width:300px;
    height: auto;
}
.modalDialog {
    position: absolute;
    font-family: "irans", Arial, Helvetica, sans-serif;
    top: 0;
    right:0;
    bottom:0;
    left:0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
    background-color: #420000;
}
.modalDialog > div {
    position: relative;
    margin:0 auto ;
    top: 50pt ;
    right:200pt;
    text-align: center;
    padding: 5px 10px 13px 20px;
    border-radius: 10px;
    box-shadow: #A30000;
    background: #fff;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);
}
.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 16px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 15px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:hover {
    background: #00d9ff;
}
h2 {
    width: auto;
    margin: 0 auto;
    padding-bottom: 10px;
    text-align: center;
    color:#2B2B2B;
}
#tabar, #tamas, #us {
    text-align: center;
    align-content: center;
}
.pcontainer {
    display: flex;
    justify-content: space-around;
    align-content: space-around center;
    align-items: center;
    flex-flow: row wrap;
    background-color: #470000;
    position: relative;
    z-index: 1;
}
.box1 {
    width: 50%;
    margin: 10px ;
    float: inherit;
    border: 10px;
}
figcaption {
	width: 120px;
	position: absolute;
	background: rgba(0,0,0,0.6);
    font-family: Tahoma, Geneva, sans-serif;
	font-size: 0.7em;
	color: #fff;
	padding: 10px 15px;
	opacity: 0;
	left: 2px;
	bottom: -10%;
	-webkit-transition: all 0.44s ease;
	-moz-transition: all 0.44s ease;
	-o-transition: all 0.44s ease;
	transition: all 0.44s ease;
}
figure {
     /*      display: inline-block;     */
    flex: 0 1 auto;
	position: relative;
 	padding: 2px;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 1.4em;
	margin-top: 1.4em;
	background: #fff;
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    z-index: 0;
}
figure:hover figcaption {
    opacity: 1; bottom: 5px;
    text-align: center;
}
footer {
    text-align:center;
    font-family: Tahoma, Geneva, sans-serif;
    font-size:9pt;
}